#include "boss.h"

//实现构造函数
Boss::Boss(int ID, string name, int depID)
{
    this->m_DepID = depID;
    this->m_ID = ID;
    this->m_Name = name;
}

//现实员工信息
void Boss::showInfo()
{
    cout << "职工编号：" << this->m_ID
         << "\t职工姓名：" << this->m_Name
         << "\t岗位：" << this->getDepName()
         << "\t岗位职责：管理公司所有事务" << endl;
}

//获取岗位信息
string Boss::getDepName()
{
    return string("总裁");
}
